package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;

public interface EventadulterlinkDAO extends JpaDao<Eventadulterlink> {

	public Eventadulterlink findEventadulterlinkById(Integer id) throws DataAccessException;

	public Eventadulterlink findEventadulterlinkById(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinkByName(String name) throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinkByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinkByNameContaining(String name_1) throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinkByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinkByDescription(String description) throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinkByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinkByDescriptionContaining(String description_1)
			throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinkByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Eventadulterlink findEventadulterlinkByPrimaryKey(Integer id) throws DataAccessException;

	public Eventadulterlink findEventadulterlinkByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinksByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Eventadulterlink> findAllEventadulterlinks() throws DataAccessException;

	public Set<Eventadulterlink> findAllEventadulterlinks(int startResult, int maxRows) throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinksByAdulterlink(Integer adulterlinkId, int start, int max);

	public Set<Eventadulterlink> findEventadulterlinksByEvent(Integer eventId, int start, int max);

	public Set<Eventadulterlink> findEventadulterlinkByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventadulterlink> findEventadulterlinksByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Eventadulterlink findEventadulterlinkByPhysicalPrimaryKey(Integer eventId, Integer adulterlinkId)
			throws DataAccessException;

	public Eventadulterlink findEventadulterlinkByPhysicalPrimaryKey(Integer eventId, Integer adulterlinkId,
			int startResult, int maxRows) throws DataAccessException;
}
